.TH std::mersenne_twister_engine::discard 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::mersenne_twister_engine::discard \- std::mersenne_twister_engine::discard

.SH Synopsis
   void discard( unsigned long long z );  \fI(since C++11)\fP

   Advances the internal state by z times. Equivalent to calling operator() z times and
   discarding the result.

.SH Parameters

   z - integer value specifying the number of times to advance the state by

.SH Return value

   \fI(none)\fP

.SH Complexity

   No worse than the complexity of z consecutive calls to operator().

.SH Notes

   For some engines, "fast jump" algorithms are known, which advance the state by many
   steps (order of millions) without calculating intermediate state transitions,
   although not necessarily in constant time.

.SH See also

   operator() advances the engine's state and returns the generated value
   \fI(C++11)\fP    \fI(public member function)\fP
